Internal function name correction

Functions were renamed at some point. This builds without error on PHP 5.4 and PHP 5.5.