fix compilation on apple platforms. fixes #35.
v0.2.3