Handle non-*nixes better