engine Linux, FreeBSD fixes in perl module