remove unused dependencies.

also restrict mysql package version