fixed pre-compiler directives
added missing include