Upgrade compass-node to work with nested imports