Fixed bug in finding binaries.