Cleanup configuration platforms, enable unsafe blocks in release build.