fix -fno-common/Mac build problems.