update build process to be able to build with homebrew on mac
fix build on Windows
fix build on linux
fix #18395: Tuplet is not visible when created from Notes > Tuplets > Other...