fix error: symbol(s) not found for architecture x86_64