No, custombuild doenst handle those extension.
You need to install them from source, once created them will give you a path where are installed, so, you have two options then:
1 - edit php.ini with the full path of the just-installed extension
2 - move the extension .so file in /usr/local/lib/ and than open php.ini and add the extension using just the name of the file
Regards