builds but doesn't link - problems with exceptions?