Fix the build.sh script on OSX

Arduino bug #1493 is only fixed on Linux, while relative paths to a
sketch is still broken on OSX. This makes sure to pass an absolute path
for now.