Only do HQX if it is enabled
Merge pull request #891 from ajschult/hqx

Only do HQX if it is enabled