fix module build error with 4.6 compiler.