Add a configuration define LIBCXXRT_WEAK_LOCKS to control whether the
pthread locking functions should be defined as weak symbols like the
other pthread functions.
use braces consistently
Merge pull request #8 from mdempsky/master

Add LIBCXXRT_WEAK_LOCKS config macro
CR by David