Added some missing 'const' qualifiers
Use core.stdc.config types to replace C's long
Merge pull request #7 from kyllingstad/const

Added some missing 'const' qualifiers
Merge pull request #8 from kyllingstad/c_long

Use core.stdc.config types to replace C's long