Added BUILDTYPE to Makefile, default to Release.

Previously we weren't building with release flags.
Properly set default build type in CMakeLists.txt.