Merge "Make more pthread functions weak for native bridge"