Update Makefile to work in Windows
Update Makefile to work in Windows

The `-Wl,-pie` linker flag has been disabled on Windows as it prevents
the executables from starting.

The `-Wl,-z,*` linker flags have been removed in Windows because they
are unsupported in mingw32 ld, replaced with windows specific flags.

undisbeliever/untech-editor,undisbeliever/untech-editor