Changed the name of CXXFLAGS and LDFLAGS to avoid picking up native variable values