Create the extensions dir before building php