Reduce size of libalglib.so by more than 50%.