Fixes for some PHP 5.3.x issues, possible fix for #173
Correct typo
Merge pull request #175 from geekwright/install53

Fixes for some issues under PHP 5.3.x. Should resolve #173