build static library by default