Merge pull request #43 from attila/master

Fixed tests in build.sh for Linux compatibility
Fix build.sh to handle paths with whitespace