successfully compile on ubuntu