fix image io linking error