BUG: Fixed linux copmile errors using typename