source fixes (get compat for merges) - part 3

Signed-off-by: Humberto Borba <humberos@gmail.com>