Cmake fix to remove unneeded project configurations