Build agains optiq 0.5, closes #3, closes #23