Make the project fully compatible with lazarus