add CC_DLL for primitive classes