for python binding to work on mac

add dylib to ext_whitelist for posix system