Build: adapt Windows makefile template to use the extra macros