fix common module build issue