memory leak fix added in place
updated the build scripts
rebase commit