Fix import and non-Cython build.
Ignore build directories.