Unify extra_compile_args and disable warnings.

Warnings can be enabled with LMDB_MAINTAINER=1