Expand shell variables in search path arguments