Fix compiler flags to remove warning