Check for Windows before adding boost-mgw flag

Won't compile under Linux if requiring mingw