make sure to remove config.h when copying