Ran source through formatter and fixed linux build