fixed some compilation issues with gcc 4.7