Fixes to release build configuration.