append the library paths on the env, rather than just setting them if undefined