Added cross platform conditions for PHPOpen.