Added -fopenmp to linker flags also