Fixed search for curl when cross-compiling