configure: Support -static-pie if requested