Fix binary linking