Update install to export ${DIR} variable

The symlinks method needs the ${DIR} variable available, so export it.