make cmake work