Added __dirname to path of smartspaces-client