Linux build script extended, cleanup removes index files.