Fixed VS compile bug for static release mode lib.
Fixed VS compile bug for static release mode lib.

pthread.c must be compiled as c code, not c++ (advanced compile settings)

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core