Fixed build errors and ignored unitCache