Add flags for x86_64 environment
Clean unused files