fix sendfile ifdef check
Merge pull request #162 from carlsborg/master

fix has_sendfile ifdef, use the correct defined constant