Added A53 and A57 support; cleaned up portability