Port macosx dyld for linux