dynamically determine compiler part of NAMD target arch, add CUDA config option, fix typo