[COOK-2568] - Error in runtime

platform?("freebsd") didn't work