Added Linux distribution check to platform.
Check for debian or ubuntu if platform is Linux.