Fixing build profile for release build.

We now properly define RELEASE/UNSAFE/DEBUG for the release build.

I still have to address the debug build.