fix gemspec and ignore some headers
add ifdef and remove all
Merge pull request #1 from Yaruki00/forMac

For mac