Updated CMakeLists.txt to restrict build types to just Release when building package for Xcode and MSVC.  Changed some CMake custom targets to custom commands.