Fix ARM compilation and add Travis scripts.