[PD-dev] can't get sys_getpreference to work on MacOS