Fixes for build/make

- allow to specify the libdir target
- break some too long lines