use WM_CLFAGS and WM_CXXFLAGS for setting compiler flags