updated build script & dependency configuration to work with *nix systems