fixed issues with php build