modernize build system (handle autodeps, asset copies, etc)