Merge pull request #65 from Patater/deprecated-constants-compat

psa: Be compatible with deprecated constants