Bugfix/ninja broken test build
See #188 (closed) for more info.
The problem was solved by replacing ADD_CUSTOM_COMMAND(...)
by ADD_CUSTOM_TARGET(copy-nsx-headers ...)
and set this custom target as a dependencie of nsx
with ADD_DEPENDENCIES(nsx copy-nsx-headers)