Fix cudabgsegm module compilation