ccanlint: fix error with --target=build