Super Smith, compact Maxwell guide Australia to 299 for 4