Fix build path; revamp build configuratons