Fix cpack build script