Add options to make static builds easier