fix lib paths