Add Jamfile and fix build