diff --git a/src/bin/cargo-build.rs b/src/bin/cargo-build.rs
old mode 100644
new mode 100755
index c3d3c96fe..f88cf5405
--- a/src/bin/cargo-build.rs
+++ b/src/bin/cargo-build.rs
@@ -16,7 +16,7 @@ use cargo::{execute_main_without_stdin};
use cargo::ops;
use cargo::core::MultiShell;
use cargo::util::{CliResult, CliError};
-use cargo::util::important_paths::find_project;
+use cargo::util::important_paths::find_project_manifest;
#[deriving(PartialEq,Clone,Decodable,Encodable)]
pub struct Options {
@@ -37,8 +37,7 @@ fn execute(options: Options, shell: &mut MultiShell) -> CliResult