Hacks for compiling