Fix broken build for non-win32 environment
Update configure script