Fix how local::lib is handled