Slightly better fix for determining staged library location