Update flags that are passed to scalac compiler

Signed-off-by: Gary Pamparà <gpampara@gmail.com>
Better choices algorithm

Signed-off-by: Gary Pamparà <gpampara@gmail.com>