Remove legacy preprocessor define