Update makefiles for Linux and Android.