Fixed setControlMode for torque control in wbi iCub to work properly with external torque control module
Changed CMakeLists to solve dependency order inclusion
Added automatic compiler options for OS X
If simulink library is enable, now we automatically add the CXX flag "-fPIC" to the compiler
Fixed -fPIC option
Fixed inclusion order in CMakeLists also for simulink libraries
Merge branch 'master' into rovereto

Conflicts:
	cmake/modules/CoDyCoOptions.cmake
	src/modules/locomotionControl/CMakeLists.txt