Fixed CMake configuration generating library file names that ld couldn't find when using symbolic names during linking.