Fixed ARM build error handling