fixed TOPDIR for test reports and build local on Solaris