Include library path in error message about path length