make omhdfs check for different locations of header files

fedora seems to package them to a different location as
(some) others
remove some (currently) unused code
Merge branch 'v8-stable'