Use parameters on setOption

By using string concatenation it's adding -Jthreads=1 -Jthreads=2 etc to the options instead of replacing the -Jthreads option value.
Merge pull request #1 from lucascaro/master

Use parameters on setOption