Instead implement @gregmarr's PR comments that perfect forwarding should be used. Also cleaned up cpp language standard detection.