Removing all warnings from the fbsd-threads.c support