Added CMake rules for Linux: now all .so files are copied to correct output folders