added linux support to build script