Add script for build necessary libs