add hash_pbkdf2() compatibility for php 5.3 and 5.4