Build with 4.5.1 and fix gitignore folders. Fixes issue #365