Fix PERFORMANCE_MODE defines