removed unused include
fixed comment
added guards to prevent warnings in MSVC