NSPRip: make it work on os x