Minor cleanups

ignore build fragments
fix compiler warnings about unused variables