Fix #1108
Merge pull request #1124 from blink1073/master

Fix import when not built (closes gh-1108)
Merge commit '997172d5eca6fc96977c852f62e55665592fb69b' into fix_io_update_doc