Merge pull request #636 from Idloj/issue633

fix a little bug with the build, shouldn't be a dot there, fixes #633
Merge branch 'modelruns' of https://github.com/Netlogo/Netlogo into modelruns
Extract the type casting to a field