Configure G++ in before cmake