test: replaced gnulinux with ${OROCOS_TARGET}

This solved the compiler issue on e.G. xenomai, the target have to be
identified throught the variable, and cannot be static gnulinux