Fixed nom script when building under linux.
Added compiler recognition for clang.