Minor cleanup of cmake build script. Better building out of source tree. Release build on windows tested.