add rpath to link
simpler makefile