Use THEANO's flag base_compiledir instead of compile_dir