Fixed fatal error related to including phrets library on servers with PHP 5.2.X