fix: Compile issues with GetOpt due to wrong header and other problems