fix for cmpilation under gcc4.6 + usage updated