Fix exceptions while cross-reference a type provider project

Close #223.