Changed build to work with Qt4