Fixes issue #12 (Thanks yberdnikov)

Also modernise the project settings