bugfixes on features.h to compile without errors - fixed some ambiguous statements and inserted missing brackets