How about

``` ruby
if preload || !IO.respond_to?(:pread)
  @mutex = Mutex.new
  @use_pread = false
else
  @use_pread = true
end
```