move cpp flags up