makefile: install completion automatically and adjust lib paths