Fixed the build scripts - apparently SH on ubuntu does not like function parenthesis