Use compile-time checks to select C++11 includes if present, else fall back on tr1 implementations.
Fix issue where component vector could shrink, destroying valid components.

The component vector should only be resized larger.