Add different scripts for debug dynamic and static builds.