try to auto-detect static glew (less dll dependencies)