fixed references to  point to lib/ so packaging works