Steal a slightly modified setting from nqp-jvm.