Updated Makefile to allow proper static compiling straight on your device. Made additional small changes to prevent compiling conflicts.