Fix missing environment variables
Fix lib symlink