compile with -race flag when DEBUG is true