clean up build scripts to use module extensions