Build PHP with legacy MySQL extension