Changed the return type of std::for_each_n to match n3690. Fixes #12.