Missing export declarations for MSVC. Refs #6202
Merge branch 'feature/6202_remove_script_console' into develop