ncmpc: propable fix for x86_64-darwin build error

@vcunat fixed syntax a bit. Close #2761.