Define PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT for all supported platforms.
Merge pull request #692 from ibuclaw/mutex

Define PTHREAD_MUTEX_INITIALIZER and PTHREAD_ONCE_INIT for all supported platforms.