Fixed OSG-related build error and added the kinematic tool