fix plugins build