build: convert to scons

* makes upkeep easier, and makes code more portable