Prefixed a C++ enum usage to fix a GCC compilation error.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #299 from ddobrev/master

Prefixed a C++ enum usage to fix a GCC compilation error