Remove the old build script and fix module references