Fixed release mode compilation