corrected automake and configure for subdirectories