fix missing SODIUM_EXPORT macro when building a static library. fix usage of stdbool.h and inttypes.h, which are missing on msvc