Fix build on linux and add Fedora build instructions.