win: undefine IN and OUT to avoid lemon/mlpack clashes
cmakelists: add headers
use securer snprintf rather than sprintf
win: avoid mlpack/lemon clashes
win: export symbols for dll
win: export symbols for merger resolving