Fixed minor issues with compiler options