[KARAF-2878] Revert this change as it breaks the console on Windows platform