Determine ABI while testing the compiler

This is needed in order for CMake to be able to determine the platform's bitness.