fixing some nvm header file dependencies