Update configure options for Qt 5 on Linux and Mac

Change-Id: I4280f65d62cd4655eb43f6a7fe21558a8593bdb9
Reviewed-by: Kai Koehne <kai.koehne@digia.com>