Setting LOCALBASE is wrong, use PREFIX instead