Attempt to gracefully handle PHP < 5.3