Fixed recursive flag generation for static vs. shared lib c++ projects, and updated a few array.map(async.apply(path.resolve calls since node 0.1.* changed path.resolve behavior