Fix passing visibility through for mac.
Merge pull request #169 from glennw/mac-vis

Fix passing visibility through for mac.
Update for rustc
Merge pull request #170 from tomaka/update-rustc

Update for rustc
Fix the appveyor build