Fix exclude-pattern format and add dev-lib