fixed the library path to work with make shell
fixed the double library entry