Fixed aruco to work with newer versions of opencv