Fixed linking on Unix.