configure: include flags in nm variable