added shared lib and make files for linux (x86)

both examples are now working for me (ubuntu 12.04 32bit)