Add --static flag to ubuntu version of mongo compilation