Fix for a crash with misaligned stack on x86 32 bits

See: https://github.com/atgreen/libffi/pull/32
Merge pull request #2203 from ryoqun/configure-minor-fixes

Configure minor fixes
Update requirements for Debian/Ubuntu