update Makefile to include static linking for gcc

This fixes a problem I was having where the package.sh script in Cura would not make a functional CuraEngine.exe on a fresh copy of Windows.