adding detection for NSIS to build win installer