arm speed undefined reference fix