Fixing enable/disable optimizations/warnings via commands