Fixed the build script to remove pycache folders.