0517-midnight better Makefile auto detect platform. autobuild tool.