Made the external stuff in CMakeLists.txt relative to the current directory.

The two commands referencing with ${CMAKE_SOURCE_DIR} were changed to
${CMAKE_CURRENT_SOURCE_DIR} so that the project won't fail in a
submodule.