fix building php ext; disable localizations