fixed bizarre compilation problem of MLS on gcc 4.7.2