Added rebuild project script

re issue #167