Removed -static flag following -fopenmp to fix build error on Mac