makefile updates to link to mysql correctly