Added boost lib detection when using gcc on linux.