nx: Properly identify GCC compiler, add proper install targets