fix os auto detect for exec backend

I've fixed OS auto detection for exec backend.