Fix crashes on other platforms caused by interference from Darwin weak symbol support.