PKGBUILD and Qt5 on linux

1. update PKGBUILD, use tar.gz instead of git.
2. fix build issue with Qt5 on linux, we have backported to Qt4 on mac
as default, because we have lots of issues under Qt5...