Fix LIB_ROOT calculation which was broken in 1.3.0