fixing single file compile