moved CFLAGS/CXXFLAGS to prepending of configure