Fix two-phase name lookup problems detected by GCC. Change to briefer ->this method of resolving two-phase name lookup problems. Clear lots of GCC warning messages. Update the test Jamefile.