project: Fix test configure by using correct path of build env.