Building a custom node

Sorry, not the slightest idea. Are you running it directly on your host or inside of Docker? If Docker, what kind of image are you using? An Alpine one? If so maybe try with an Ubuntu based one.

As the issue is not directly related to n8n there is sadly not much I can help you with.