HPCC-11319 System won't build without MySQL

Separate the flags for using the mysql repository and using the mysql plugin.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>