small fixes to get it compiling again in Oxygene
Merge pull request #2 from JeroenVandezande/master

small fixes to get it compiling again in Oxygene