Fix flags to cut so it works on Mac OS