Adding build scripts
Fixed small build issue