fixed a compile issue

GoldenSearch and Conjuage-Gradient don't exist yet.
Merge pull request #92 from ayr0/vol2_fix

fixed a compile issue