Fixed voodoo parsing error on non-member template functions