switching to cmake.  Not really cross-platform but who cares?