How to do Conditional Compilation with Java