fixed issues with PACKAGESITE definition FreeBSD