Update Octave build to use static libraries