custom node compilation fixes