workaround for CTFMERGE issues eg on FreeBSD