hopeful fix for compile issue under linux and paths for confuse on osx