Fixed problem with Linux platform.