Change build system to use autotools instead of qmake

Signed-off-by: Simon Busch <morphis@gravedo.de>