fixed issue with FPC+Linux for our custom encryption scheme