Added linux support to examples