Bug #60347 OSX can't build as .so hardcoded

https://bugs.php.net/bug.php?id=60347