Fix for cross compiling php