update script for static linux builds