use a define macro instead of a variable for the compile command