Look for current folder first in build.sh too.

Thanks @johnmave126 for spotting this bug in #36.
However #37 only fixed this on Windows. Here is the fix for build.sh which resolves this on Linux and OS X
Fixes #40