OpenFst: Fix build with GCC 4.7

Change-Id: I6f4e275e889c94cd1f8d74c08e822ab5facee857

G++ now correctly implements the two-phase lookup rules such that an unqualified name used in a template must have an appropriate declaration found either in scope at the point of definition of the template or by argument-dependent lookup at the point of instantiation.