Merge pull request #203 from pozdnychev/master

Fix compilation error because of multiple function declarations
Accept None for argument "externals"
Fix issues while building in some systems
Fix warnings
Fix warnings
Fix issue in Python 2.4