Compile with cmake