Fixed how module assets are copied into the build folders.