Added Linux support

Added linux handlers for examples and added library names for OSX and linux