MPT - fix all compiler warnings