A bevy of linux updates and build fixes.
Prefer the copy constructor for iterator initialization.