build: add m4 for feature/flag-testing
unix: fix warnings about dollar