Change logic when finding flex to ensure that we get the FlexLexer.h included from the same place as the flex binary.  This solves problems when users have multiple incompatible versions of flex on their system.
Change logic when finding flex to ensure that we get the FlexLexer.h included
from the same place as the flex binary.  This solves problems when users have
multiple incompatible versions of flex on their system.


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@126 a3683778-fedd-11de-87c3-653bb6514e15

fpsunflower/OpenShadingLanguage,juvenal/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,brechtvl/OpenShadingLanguage,brechtvl/OpenShadingLanguage,aconty/OpenShadingLanguage,gzorin/OpenShadingLanguage,mcanthony/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,sjparker/OpenShadingLanguage,imageworks/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,gzorin/OpenShadingLanguage,imageworks/OpenShadingLanguage,aconty/OpenShadingLanguage,lgritz/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,lgritz/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,svenstaro/OpenShadingLanguage,mcanthony/OpenShadingLanguage,juvenal/OpenShadingLanguage,mcanthony/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,rlmh/OpenShadingLanguage,Anteru/OpenShadingLanguage,imageworks/OpenShadingLanguage,aconty/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,imageworks/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,svenstaro/OpenShadingLanguage,imageworks/OpenShadingLanguage,Anteru/OpenShadingLanguage,brechtvl/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,mcanthony/OpenShadingLanguage,aconty/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,sjparker/OpenShadingLanguage,sjparker/OpenShadingLanguage,brechtvl/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,sjparker/OpenShadingLanguage,lgritz/OpenShadingLanguage,gzorin/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,rlmh/OpenShadingLanguage,aconty/OpenShadingLanguage,Anteru/OpenShadingLanguage,gzorin/OpenShadingLanguage,rlmh/OpenShadingLanguage,juvenal/OpenShadingLanguage,Anteru/OpenShadingLanguage,gzorin/OpenShadingLanguage,svenstaro/OpenShadingLanguage