Enable PHP5.2 builds on Travis

Note: 5.2 doesn't have -g, so set it in the environment so the others
can pick it up