Make the install step for superbuild deps agnostic to platform.