Minor build system fixes, gitignore and compiler warning

Avoid using deprecated functions in liboctave, which gives compiler warnings, and add the rest of the build system products from build with gcc and make to .gitignore.