Clean unused project files and update build script