fixed bug in cmake script file for *nix operation systems