Fix BC with PHP5.3, resolves #70