update singleapp for Qt5
update build for Qt5 on Windows mingw