Address Clang integer truncation warning
Link FreeBSD binaries against pthread
Split src/abaclade/exception-os.cxx by platform