fixing arch dependent symbols