configure: Add conditional platform builds