Fixed double definition of LOCALEDIR