Automatic detection of cython and fortran sources.
Python 3 compatibility.