Edited Cmake for the release build