reselect basedir if bots or stages dirs don't exist
fix target selection bug in sample.chaser
streamline build scripts, misc build fixes, include SFML headers