Script detects platform (Linux or OSX)