Added terminal when needed for freerdp (#33)