Put in functions to test if we are in release builds.
Made more projects default to release.