Need to enable SAFESEH to avoid link error from asm generation.
Modified the configure file so that it wont throw error when run in a MinGW environment.