Moved cmake commands to lowercase; added automatic detection of OCE;