Correctly determine libc.so 'OUTPUT_FORMAT' when cross-compiling.