Fixed error when project does not build when imported