Fix dev exclusion for lib.