Fix missing include

Last commit made defition of cpack() not available to files
which do not include openlibm.h.