Regression fix for building mysql connectors