Modified samples to run on Mac and updated dependencies