common/environment: move some linux defs to common-linux, for musl.