Fix compilation on g++ 4.7 and use find instead of binary_find.

Reviewed by: Lauro Neto