Fix bug with PHP<5.4.8

Because constants were introduced in PHP 5.4.8, RSA signer will not work
when using PHP < 5.4.8.
This commit fixes the issue #10