Fixed PMOD_EXPORT inconsistencies introduced by bde77ef0. (Apparently windows is still way more picky with this than other systems.)