Fix release build settings