Fix compiling for osx and linux and only 1 io.h
Merge pull request #18 from labsin/installer2

Fix compiling for osx and linux and only 1 io.h