support Open/Save Dialog for linux(on GTK). fixed makefile