changing c++ method signatures and fixing install script