Fix debug and release compiles.