fixed the problem that the GMAC can not be build as a module.