php@7.0: Fix build for Linuxbrew
php@7.0: Fix build for Linuxbrew

Port the changes from:
https://github.com/Linuxbrew/homebrew-core/pull/10085 over to the
php@7.0 formula

Closes Linuxbrew/homebrew-core#10366.

Signed-off-by: Michka Popoff <7b0496f66f66ee22a38826c310c38b415671b832@gmail.com>

LinuxbrewTestBot/homebrew-core,Linuxbrew/homebrew-core,maxim-belkin/homebrew-core,maxim-belkin/homebrew-core,Linuxbrew/homebrew-core,rwhogg/homebrew-core,rwhogg/homebrew-core,LinuxbrewTestBot/homebrew-core