Fixes compile/link errors.