Fixed the examples autoloader to work on OSX and Nixes