added virtual dtors to make clang happy
pthreads implementation compiles now