add compile bare option