Pass the "--profile.api" command-line flag to JRuby in a way that actually works