fix preprocessor defs for free version