Fix comments of '#endif' and namespace in files of Nix platform

Reviewed by: Thiago Lacerda