Add support for SHA2-512 hash on Qt4 builds