Fixed header comments
Fixed compilation without python

Funded by ItOpen - http://www.itopen.it
Removed trailing spaces