[COMMIT] fix problems building with CVS dirs