Fixed the LSC --release switch not affecting the compilation