fix compile bug from travis-ci and nsi installer fix.