enable smp for Erlang R17 in erlc options
retrict compilation under R17 for smp support.Try this out on the altest erlang version