Compilation fix for production configuration