Fix PHP 5.3 compatibility

Use \x12 hex string instead of hex2bin()
because hex2bin is only available starting with PHP 5.4

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>