fixing cmake script