build: fix disk-free quota support on Solaris 10