1) fix rebuilding with existing staging area 2) fix dependency to libmysqlclient (fixes #3132) Signed-off-by: Michael Heimpold <mhei@heimpold.de>