improve sdk location

- improve the code used to locate the sdk
- initial support for coveralls.io