fixed use of deprecated boost function
Merge pull request #44 from robotology/issue43

fixed use of deprecated boost function