build libottery first to ensure dependency is met