code to automatically recompile mingw packages on update