fix automake subdir option issue