Fixed Build scripts.