gcc: Error when buliding set output dir