MacOS syntax for sections is a bit different, so implement it. (see issue #42). This should be backported to 1.9.