Fix ARG_TARGET being ignored
Replace CMAKE_PROJECT_NAME with PROJECT_NAME