Guard uncompilable code with #ifdef