Minor fixes

Rubocop fixes, switch to platform_family vs. platform to support additional platforms.