Removed brackets & clean-up linux platform check.

Be more pythonic.