#2: fixed build problems and added gitignore files for target folders.