added flags to disable qml plugin and test program to compile

This is usefull when there is no need to compile test program and qml plugin.

Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com>