Fixed some issues, related to compiling.
Source formatted, using GNU style.

Signed-off-by: Wolftein <agustin.l.alvarez@hotmail.com>