Snow Leopard: Add code to generate if statements for compilation and remove extra blank line after dependencies