[install] handle linking without a seperate script