Added possibility to set library directory.

Added possibility to set library directory via LIBDIR (q)make variable. Fixes #28.

However "lib" is hard coded somewhere into the sources: f.e. gui/mainwindow.cpp#278 and I don't have skill to fix up it.