Fixed error when adding os_thread_func_ptr_deleter, UNIX OSs also use it.

[SVN r86777]