[build] various MoarVM fixes