Allow for control of platform_version attribute for other distros like Amazon Linux

@chrisroberts