The lack of nvml.h was an oversight in the packaging step. I ported the fix (plus a few other fixes) to the GitHub mirror of nvidia-settings, so you could build from that or cherry-pick the fix as a patch in your Gentoo ebuild.
Alternatively, you could use the pre-built binaries from the .run package.
nvml.h fix:
https://github.com/NVIDIA/nvidia-settings/issues/4
https://github.com/NVIDIA/nvidia-settings/commit/168e17f53098254b4a5ab93eeb2f23c80ca1d97f
All the changes I pushed on Friday:
These fixes should all be in the next official release.