Fix build script for static builds