Use ADVANCED instead of ADVANCED_OPTIMIZATIONS

ADVANCED_OPTIMIZATIONS is deprecated (but still accepted)