MSYS build compatibility

Some defines to allow building asn1c on MSYS.
Tested using latest packages from http://nuwen.net

Also, this is fix for issue #24