Update makefile for i486-mingw build on mainline