community/mmh: fix build with -fno-common

- Fix build with -fno-common
- Modernize
-- Add check()
7 jobs for !16110 with community/mmh in 3 minutes and 4 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Lint
passed #278661
docker-alpine x86_64
lint

00:00:18

 
  Build
passed #278666
docker-alpine ci-build aarch64
build-aarch64

00:01:09

passed #278667
docker-alpine ci-build armv7
build-armv7

00:01:12

passed #278665
docker-alpine ci-build ppc64le
build-ppc64le

00:01:29

passed #278664
docker-alpine ci-build s390x
build-s390x

00:02:44

passed #278663
docker-alpine ci-build x86
build-x86

00:00:46

passed #278662
docker-alpine ci-build x86_64
build-x86_64

00:01:20