Build scripts: add support for NMake project generator