Spawn dependency on OS type