Fix error when install multiple times on freebsd