The %cd% is the result of an “echo %cd%” which display the build directory on Windows and does, of course, not work on Linux. We will fix it on the next update.
About the paths, how did you import the Cube generated project? It should be imported with the “Copy projects into workspace” unchecked. We are still working on a better integration of Cube projects.
Hope it will help you.