fix build steps for freebsd