Use opt_prefix instead of prefix

This will remove the dependency on a specific version of libraries.

I noticed that sometimes libraries are upgraded, like gettext or zlib, and older version is removed, php will stop working because it is explicitly depending on the older version.

Using opt_prefix will make the build use the symlinks in /usr/local/opt which points to the current version active.