adding the g++ flag -m64 for plugin compile