Added jamfile.v2 and fixed some warnings.