minor fix to darwin support (missed from previous patch)