Small improvements

* only add libdir to path if not present
* try to remove leftover MANIFESTs,don't fail if not there