autodetect Qt5 at link-time and set lib names accordingly