Updating Maven config so it compiles on Travis