Improve 'io-console' loading

Move dependency checking from build-time to run-time