add -L option to CMAKE_EXE_LINKER_FLAGS