support building for multiple php versions