Add missing set-env calls to export lib paths