Crappy hack to allow building standalone