hack around linkage bug in dmd