Fix bus error with pkg add