Fix cmake setting about installing.