bugfix: add an error statement for not implemented posix threads.