Fix packages_custom for Solaris