Makefile: modify ld flags

-lboost_system is needed with some boost libraries (1.50?)
-lpthread is not needed anymore
Kalehrl is only able to cross-compile if $(LIBDIRS) $(LDFLAGS) is put after -o $@ $^ instead before them.