Fixed default arguments with enums directly declared in headers.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>