implement conditional compilation in makefile