Initial commit.
Fixed stdcall shouldn't be defined on linux.