Merge pull request #6 from brettle/master

Changes to build RPMs
Fixed compilation on older Qt versions.
Fixed compilation when Boost is not in default system location.
Fixed compilation of python bindings with old Qt versions.