Fix curl package name.
Add topdir definition.