static linking on os x