Call ApplyAttributes() on the cloned component to make sure attribute side-effects happen.
For Travis CI - switch CI build to use OS X build environment.