Use platform_family instead of platform

I had to do this because I use scientific; pretty simple change.