Fix build failure and warnings if YAX_ENABLE is undefined
Adds #ifdef YAX_ENABLE
macros and other fixes where necessary.
In the process I also discovered this bug: #283
Edited by Dino Bollinger
Adds #ifdef YAX_ENABLE
macros and other fixes where necessary.
In the process I also discovered this bug: #283