PHP fix

This one gets the basics working for me when I cross compile a neko project using minject to PHP.

Sadly I can't run munit tests in PHP, so I'm not sure if other changes will be required, but for now this is working on a moderately complex project.