fixes a problem I was having with setsockopt on linux x64.