Update cmake with beta gcc flags