On GLIBC systems pbd_stack_size() adds __pthread_get_minstack, this is no available on mac systems, causing issues with some libraries used by plugins.