fix compiler warnings
cause make to fail if there are compiler warnings