fix build dir skip directive