增加了几个兼容性的修改

UBUNTU10.04 64-bits system, Emacs, Ubuntu4.4.3-4ubuntu5.1
add PTHREAD_MUTEX_RECURSIVE_NP for compatibility to lib pthread