use find_library instead of hardcoded path for ctypes import of CoreServices on MacOS 

This is required for successful use with bundling tools like pyinstaller.