Fixed the linking for the actual tests rather than just the link tests

We're experienceing a wierd error in gcc where the filesystem is not being linked. Maybe there is some bad linking in the afio jamfile? We decalred a requirement for the projects in the unit tests to use afio, so it should link properly.

We'll need furthur investigation, tomorrow