Fix build script: ignore unwanted files