Correctly retain functions in sol binaries.