Update flags that are passed to scalac compiler

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