Compile with debugging symbols only when DEBUG=1.