fix MySQL Connector installation fails on non-bundled JasperServer installations

fixes #4153