Ensure the the php constants are loaded before comparing them. Closes #1