ENH: Make update_buildenv handle variables in paths