Mac pathing and segfault corrections