dclass: Fix linking errors.